package com.ruoyi.drug.domain;

import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 订单明细对象 drugs_order_detail
 *
 * @author ruoyi
 * @date 2022-11-14
 */
public class DrugsOrderDetail extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 订单明细id */
    private Long detailId;

    /** 厂家id（外键）参考drugs_producer */
    @Excel(name = "厂家id", readConverterExp = "外=键")
    private String detailProduceId;

    /** 药品id */
    @Excel(name = "药品id")
    private Long detailDrugId;

    /** 药品名称 */
    @Excel(name = "药品名称")
    private String detailDrugName;

    /** 外键  订单id */
    @Excel(name = "外键  订单id")
    private Long orderId;

    /** 药品批发数量 */
    @Excel(name = "药品批发数量")
    private Long detailDrugNum;

    /** 药品批发单价 */
    @Excel(name = "药品批发单价")
    private Long detailDrugPrice;

    /** 批次号 */
    @Excel(name = "批次号")
    private Long detailBathNum;

    /** 总批发额 */
    @Excel(name = "总批发额")
    private Long detailTotalPrice;

    /** 备注 */
    @Excel(name = "备注")
    private String detailRemarks;

    /** 规格(1g / 1t /..) */
    @Excel(name = "规格(1g / 1t /..)")
    private String detailNorms;

    public void setDetailId(Long detailId)
    {
        this.detailId = detailId;
    }

    public Long getDetailId()
    {
        return detailId;
    }
    public void setDetailProduceId(String detailProduceId)
    {
        this.detailProduceId = detailProduceId;
    }

    public String getDetailProduceId()
    {
        return detailProduceId;
    }
    public void setDetailDrugId(Long detailDrugId)
    {
        this.detailDrugId = detailDrugId;
    }

    public Long getDetailDrugId()
    {
        return detailDrugId;
    }
    public void setDetailDrugName(String detailDrugName)
    {
        this.detailDrugName = detailDrugName;
    }

    public String getDetailDrugName()
    {
        return detailDrugName;
    }
    public void setOrderId(Long orderId)
    {
        this.orderId = orderId;
    }

    public Long getOrderId()
    {
        return orderId;
    }
    public void setDetailDrugNum(Long detailDrugNum)
    {
        this.detailDrugNum = detailDrugNum;
    }

    public Long getDetailDrugNum()
    {
        return detailDrugNum;
    }
    public void setDetailDrugPrice(Long detailDrugPrice)
    {
        this.detailDrugPrice = detailDrugPrice;
    }

    public Long getDetailDrugPrice()
    {
        return detailDrugPrice;
    }
    public void setDetailBathNum(Long detailBathNum)
    {
        this.detailBathNum = detailBathNum;
    }

    public Long getDetailBathNum()
    {
        return detailBathNum;
    }
    public void setDetailTotalPrice(Long detailTotalPrice)
    {
        this.detailTotalPrice = detailTotalPrice;
    }

    public Long getDetailTotalPrice()
    {
        return detailTotalPrice;
    }
    public void setDetailRemarks(String detailRemarks)
    {
        this.detailRemarks = detailRemarks;
    }

    public String getDetailRemarks()
    {
        return detailRemarks;
    }
    public void setDetailNorms(String detailNorms)
    {
        this.detailNorms = detailNorms;
    }

    public String getDetailNorms()
    {
        return detailNorms;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
                .append("detailId", getDetailId())
                .append("detailProduceId", getDetailProduceId())
                .append("detailDrugId", getDetailDrugId())
                .append("detailDrugName", getDetailDrugName())
                .append("orderId", getOrderId())
                .append("detailDrugNum", getDetailDrugNum())
                .append("detailDrugPrice", getDetailDrugPrice())
                .append("detailBathNum", getDetailBathNum())
                .append("detailTotalPrice", getDetailTotalPrice())
                .append("detailRemarks", getDetailRemarks())
                .append("detailNorms", getDetailNorms())
                .toString();
    }
}
